package com.baike.mapper;

import com.baike.entity.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author x_FG
 * @since 2021-10-29
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    int insertRoleMenu(@Param("rid") Integer rid,@Param("menuIds") Integer[] menuIds);

    List<Integer> getRoleMenuByMenuId(Integer rid);
}
